<?php
/**
 * Functions that run only under the development environment.
 * @author Chris Montgomery
 */
class Environment extends CI_Model
{
	public function __construct()
	{
		parent::__construct();
		$this->load->model('users');
	}
	
	public function send_temporary_password($email)
	{
		// TODO: Learn how to send emails from our site.
		/*$this->load->library('email');
		$temporary_password = $this->users->create_temporary_password($email);
		
		$this->email->from('admin@sevasports.com', 'SEVA Sports Admin');
		$this->email->to('chriskoolest@yahoo.com');
		
		$this->email->subject('SEVA Sports Temporary Password');
		$this->email->message('Testing the email class.');
		
		$this->email->send();*/
	}
}